package com.chart.chart.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chart.chart.domian.vo.FileVo;
import com.chart.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 我的生成：大屏 ChartViewsUser
 * 
 * @author ruoyi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChartViewsUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 参数主键 */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /** 用户id */
    private Long userId;

    /** 文件夹id */
    private Long fileId;

    /** 图表大屏 */
    private String viewValue;

    /** 大屏名称 */
    private String viewName;

    /** 1:图表  2：大屏 3：文件夹 */
    private Integer chartModeType;

    /** 封面 */
    private String viewCover;


    @TableField(exist = false)
    private List<Long> ids;

    @TableField(exist = false)
    private String base64Data;

    @TableField(exist = false)
    private FileVo photoFile;

}
